﻿<!DOCTYPE html>
<html>
<head>
<title>日报表打印</title>
<meta charset="utf-8">
<meta name="keywords" content="短照中心-湘潭市康复养老中心;">
<meta name="description" content="短照中心-湘潭市康复养老中心;">
<link rel="stylesheet" rev="stylesheet" href="css/framepage_print.css" type="text/css" media="screen,print" />
<link rel="stylesheet" rev="stylesheet" href="css/print_table.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="js/waitBox/wait.css">
<script src="js/vue.js"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/JSON-js-master/json2.js"></script>
<script src="js/waitBox/wait.js"></script>
<script src="js/purl.js"></script>
<style type="text/css">
@media print {
.no_print {
	display: none;
}
@page {
margin: 0 10mm 0;
}
.form_div ul {
	margin-top: 0;
}
.rbb_div{width:210mm;height:auto;position:absolute;left:0;top:0;font-size:12pt;color:#000000;}
.rbb_div h3{line-height:6mm;width:210mm;height:5mm;text-align:center;font-size:12pt;color:#000000;}

table.rbb{width:190mm;font-family: verdana,arial,sans-serif;font-size:16px;color:#000000;border:solid 1px #000000;border-collapse: collapse;}
table.rbb td{line-height:8mm;height:8mm;border:1px solid #000000;border-collapse: collapse;padding:0;}

table.rbbnei{width:190mm;font-family: verdana,arial,sans-serif;font-size:12pt;color:#000000;magin:0;padding:0;border:0;border-collapse: collapse;}
table.rbbnet td{text-align:left;line-height:8mm;height:8mm;magin:0;padding:0;border:0;border-collapse: collapse;}


table.rbbnei2{width:50mm;font-family: verdana,arial,sans-serif;font-size:14pt;color:#000000;magin:0;padding:0;border:0;border-collapse: collapse;}
table.rbbnet2 td{text-align:left;line-height:8mm;height:8mm;magin:0;padding:0;border:0;border-collapse: collapse;}

table.tb400{width:90mm;text-align:center;border-collapse: collapse;}
table.tb400 td{width:90mm;text-align:center;border-collapse: collapse;}

table.tb400_2{width:90mm;text-align:center;border-collapse: collapse;}
table.tb400_2 td{text-align:center;border-collapse: collapse;}

table.tb100{width:25mm;text-align:center;border-collapse: collapse;}
table.tb100 td{width:25mm;text-align:center;border-collapse: collapse;}

table.tb200{width:50mm;text-align:center;border-collapse: collapse;}
table.tb200 td{width:50mm;text-align:center;border-collapse: collapse;height:24.5mm;}

.v_top{vertical-align: top;}
.tdw100{width:25mm;}
.tdw200{width:50mm;}
.tdw400{width:100mm;}
.tdw500{width:125mm;}
.tdw300{width:65mm;}
.tdw700{width:165mm;}
.tdw800{width:190mm;}
.blps{border-collapse: collapse;}
.t_c{text-align:center;}
.h_62{height:17mm;text-align:center;}
}


@media screen {

.rbb_div{width:800px;height:auto;margin-top:30px;margin-left:auto;margin-right:auto;font-size:14px;color:#000000;}
.rbb_div h3{line-height:20px;width:800px;height:20px;text-align:center;font-size:14px;color:#000000;}

table.rbb{width:800px;font-family: verdana,arial,sans-serif;font-size:16px;color:#000000;border:solid 1px #000000;border-collapse: collapse;}
table.rbb td{line-height:30px;height:30px;border:1px solid #000000;border-collapse: collapse;padding:0;}

table.rbbnei{width:800px;font-family: verdana,arial,sans-serif;font-size:16px;color:#000000;magin:0;padding:0;border:0;border-collapse: collapse;}
table.rbbnet td{text-align:left;line-height:30px;height:30px;magin:0;padding:0;border:0;border-collapse: collapse;}


table.rbbnei2{width:200px;font-family: verdana,arial,sans-serif;font-size:16px;color:#000000;magin:0;padding:0;border:0;border-collapse: collapse;}
table.rbbnet2 td{text-align:left;line-height:30px;height:30px;magin:0;padding:0;border:0;border-collapse: collapse;}

table.tb400{width:400px;text-align:center;border-collapse: collapse;}
table.tb400 td{width:400px;text-align:center;border-collapse: collapse;}

table.tb400_2{width:400px;text-align:center;border-collapse: collapse;}
table.tb400_2 td{text-align:center;border-collapse: collapse;}

table.tb100{width:99px;text-align:center;border-collapse: collapse;}
table.tb100 td{width:99px;text-align:center;border-collapse: collapse;}

table.tb200{width:200px;text-align:center;border-collapse: collapse;}
table.tb200 td{width:200px;text-align:center;border-collapse: collapse;height:92px;}

.v_top{vertical-align: top;}
.tdw100{width:100px;}
.tdw200{width:200px;}
.tdw400{width:400px;}
.tdw500{width:500px;}
.tdw300{width:300px;}
.tdw700{width:700px;}
.tdw800{width:800px;}
.blps{border-collapse: collapse;}
.t_c{text-align:center;}
.h_62{height:64px;text-align:center;}
}

</style>
</head>

<body style="background:rbg(216,216,216);">

<!--新的列表样式-->
<div class="rbb_div" id="vue_vm_list">
  <h3>收费员住院结账日报表</h3>
  <h3>湘潭市养老康复中心</h3>
  <div style="margin:0;padding:0;" v-for="todo in todos">
    <h3>{{getPrintDate()}}</h3>
    <table class="rbb">
      <tr>
        <td class="tdw100 v_top">
         <table class="tb100">
            <tr class="h_62">
              <td>项目</td>
            </tr>
            <tr>
              <td class="t_c">结算发票</td>
            </tr>
            <tr>
              <td class="t_c">收预缴金</td>
            </tr>
            <tr>
              <td class="t_c">退预缴金</td>
            </tr>
          </table>
         </td>
        <td class="tdw100 v_top">
         <table class="tb100">
            <tr class="h_62">
              <td>金额</td>
            </tr>
            <tr>
              <td class="t_c">{{todo.settlePaperForm.totalAmount.toFixed(2)}}元</td>
            </tr>
            <tr>
              <td class="t_c">{{todo.planPaperForm.totalAmount.toFixed(2)}}元</td>
            </tr>
            <tr>
              <td class="t_c">{{todo.returnPaperForm.totalAmount.toFixed(2)}}元</td>
            </tr>
          </table>
         </td>
        <td class="tdw400 v_top">
        <table class="tb400">
            <tr>
              <td class="t_c">使用票据</td>
            </tr>
          </table>
          <table class="tb400_2">
            <tr>
              <td class="t_c tdw300">起终</td>
              <td class="t_c tdw100">张数</td>
            </tr>
          </table>
          <table class="tb400_2">
            <tr>
              <td class="tdw300">
				<span v-for="(item,index) in todo.settlePaperForm.paperNumForms">
				  <span v-if="index==todo.settlePaperForm.paperNumForms.length-1">
                      <span v-if="item.startNum==item.endNum">{{item.startNum}}</span>
                      <span v-else>{{item.startNum}}-{{item.endNum}}</span></span>
				  <span v-else>
                      <span v-if="item.startNum==item.endNum">{{item.startNum}}</span>
                      <span v-else>{{item.startNum}}-{{item.endNum}}</span>,</span>
				</span>
			  </td>
              <td class="tdw100 t_c">{{todo.settlePaperForm.count}}</td>
            </tr>
            <tr>
              <td class="tdw300">
			  	<span v-for="(item,index) in todo.planPaperForm.paperNumForms">
				  <span v-if="index==todo.planPaperForm.paperNumForms.length-1">
                      <span v-if="item.startNum==item.endNum">{{item.startNum}}</span>
                      <span v-else>{{item.startNum}}-{{item.endNum}}</span></span>
				  <span v-else>
                      <span v-if="item.startNum==item.endNum">{{item.startNum}}</span>
                      <span v-else>{{item.startNum}}-{{item.endNum}}</span>
                      ,
                  </span>
				</span>
			  </td>
              <td class="tdw100 t_c">{{todo.planPaperForm.count}}</td>
            </tr>
            <tr>
              <td class="tdw300">
			  	<span v-for="(item,index) in todo.returnPaperForm.paperNumForms">
				  <span v-if="index==todo.returnPaperForm.paperNumForms.length-1">
                      <span v-if="item.startNum==item.endNum">{{item.startNum}}</span>
                      <span v-else>{{item.startNum}}-{{item.endNum}}</span></span>
				  <span v-else>
                      <span v-if="item.startNum==item.endNum">{{item.startNum}}</span>
                      <span v-else>{{item.startNum}}-{{item.endNum}}</span>,</span>
				</span>
			  </td>
              <td class="tdw100 t_c">{{todo.returnPaperForm.count}}</td>
            </tr>
          </table>
         </td>
        <td class="tdw200 v_top">
         <table class="tdw200 blps">
            <tr class="tdw200">
              <td class="tdw200 t_c">作废票据</td>
            </tr>
          </table>
          <table class="tdw200 blps">
            <tr class="tdw200">
              <td class="tdw100 t_c">结算发票</td>
              <td class="tdw100 t_c">缴款收据</td>
            </tr>
          </table>
          <table class="tb200">
            <tr>
              <td class="tdw100"><span style="display:block;font-size:12px;">{{getInvalidSettleNumStr(todo)}}</span><span style="display:block;font-size:12px;"></span></td>
              <td class="tdw100"><span style="display:block;font-size:12px;">{{getInvalidPayNumStr(todo)}}</span><span style="display:block;font-size:12px;"></span></td>
            </tr>
          </table>
         </td>
      </tr>
    </table>
    <table class="rbb">
      <tr>
        <td class="tdw100">本日应收</td>
        <td class="tdw700">现金</td>
      </tr>
      <tr>
        <td class="tdw100">{{getARMoney(todo)}}</td>
        <td class="tdw700">{{getARMoney(todo)}}</td>
      </tr>
      <tr>
        <td class="tdw100">大写</td>
        <td class="tdw700">{{getMoneyCN(getARMoney(todo))}}</td>
      </tr>
    </table>
    <table class="rbbnei">
      <tr class="tdw800">
        <td class="tdw100"></td>
        <td class="tdw400">操作员：{{getStaffName()}}</td>
        <td class="tdw300">制表日期：{{getPrintDate()}}</td>
      </tr>
    </table>
  </div>
</div>
<div class="form_div">
  <div class="for_ie_div no_print"><!--为兼容IE-->
    <ul>
      <li><span class="tit" style="width:70px;"></span></li>
      <li>
        <input type="button" value="打印日报表" class="button button1" onclick="window.print();" style="height:38px;"/>
      </li>
    </ul>
  </div>
</div>
<script src="js/common.js"></script>
<script src="js/common_function.js"></script>
<script src="js/common_date.js"></script>
<script src="js/common_money.js"></script>
<script src="js/busi/dayPaperReport.js"></script>
</body>
</html>